/* 
 * 创建日期 2011-7-18
 *
 * 成都天和软件公司
 * 电话：028-85425861 
 * 传真：028-85425861-8008 
 * 邮编：610041 
 * 地址：成都市武侯区航空路6号丰德万瑞中心B座1001 
 * 版权所有
 */
package  org.fantasy.question.pojo;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import  org.fantasy.cpp.core.annotation.Field;

/** 
 * <p>Title: Question</p>  
 * <p>Description: 描述用户问题的详细信息</p>  
 * <p>Copyright: Copyright (c) 2011-7-18</p>  
 * @author 沈飞 
 * @version 1.0 
 */
@Table("QUESTION")
public class Question {
	@Id 
	@Column("qid")
	@Field(desc = "问题id", nullable = false)
	private Long qid;

	@Column("sys_id")
	@Field(desc = "系统id", nullable = true)
	private Long sysId;

	@Column("type_id")
	@Field(desc = "问题类型id", nullable = true)
	private Long typeId;

	@Column("status_id")
	@Field(desc = "状态id", nullable = true)
	private Long statusId;

	@Column("staff_id")
	@Field(desc = "员工id", nullable = true)
	private Long staffId;

	@Column("title")
	@Field(desc = "问题标题", nullable = false, maxlenth = 512)
	private String title;

	@Column("qdesc")
	@Field(desc = "问题说明", nullable = false)
	private String desc;

	@Column("level")
	@Field(desc = "紧急程度", nullable = false)
	private Long level;

	@Column("begin_time")
	@Field(desc = "提问时间", nullable = false)
	private java.util.Date beginTime;

	@Column("means")
	@Field(desc = "解决方法", nullable = true)
	private String means;

	@Column("end_time")
	@Field(desc = "解决时间", nullable = true)
	private java.util.Date endTime;

	@Column("quser")
	@Field(desc = "提出者", nullable = false, maxlenth = 32)
	private String user;

	@Column("qq")
	@Field(desc = "qq", nullable = true, maxlenth = 12)
	private String qq;

	@Column("email")
	@Field(desc = "邮箱", nullable = true, maxlenth = 32)
	private String email;

	@Column("tel")
	@Field(desc = "联系电话", nullable = true, maxlenth = 32)
	private String tel;

	@Column("region")
	@Field(desc = "所在区域", nullable = true, maxlenth = 16)
	private String region;

	@Column("unit")
	@Field(desc = "所在单位", nullable = true, maxlenth = 16)
	private String unit;

	@Column("state")
	@Field(desc = "状态", nullable = false, maxlenth = 8)
	private String state;

	public Long getQid() {
		return qid;
	}

	public void setQid(Long qid) {
		this.qid = qid;
	}

	public Long getSysId() {
		return sysId;
	}

	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}

	public Long getTypeId() {
		return typeId;
	}

	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}

	public Long getStatusId() {
		return statusId;
	}

	public void setStatusId(Long statusId) {
		this.statusId = statusId;
	}

	public Long getStaffId() {
		return staffId;
	}

	public void setStaffId(Long staffId) {
		this.staffId = staffId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Long getLevel() {
		return level;
	}

	public void setLevel(Long level) {
		this.level = level;
	}

	public java.util.Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(java.util.Date beginTime) {
		this.beginTime = beginTime;
	}

	public String getMeans() {
		return means;
	}

	public void setMeans(String means) {
		this.means = means;
	}

	public java.util.Date getEndTime() {
		return endTime;
	}

	public void setEndTime(java.util.Date endTime) {
		this.endTime = endTime;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

}
